Click or drag to resize

Stream Class

Represents a virtual stream to store data.
Inheritance Hierarchy

Namespace:  Independentsoft.IO.StructuredStorage
Assembly:  Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntax
public class Stream : DirectoryEntry

The Stream type exposes the following members.

Constructors
  NameDescription
Public methodStream
Initializes a new instance of the Stream class.
Public methodStream(String)
Initializes a new instance of the Stream class and load data from the specified file.
Public methodStream(String, Byte)
Initializes a new instance of the Stream class and load data from the specified buffer.
Public methodStream(String, Stream)
Initializes a new instance of the Stream class and load data from the specified Stream.
Top
Properties
  NameDescription
Public propertyBuffer
Gets or sets streams data.
Public propertyClassId
Gets or sets class ID.
(Inherited from DirectoryEntry.)
Public propertyCreatedTime
Gets creation time.
(Inherited from DirectoryEntry.)
Public propertyLastModifiedTime
Gets last modified time.
(Inherited from DirectoryEntry.)
Public propertyName
Gets or sets name.
(Inherited from DirectoryEntry.)
Public propertySize
Gets size.
(Inherited from DirectoryEntry.)
Top
Methods
  NameDescription
Public methodCompareTo
Compares this instance with the specified DirectoryEntry object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified DirectoryEntry.
(Inherited from DirectoryEntry.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetStream
Gets Stream to read data from this stream.
Public methodGetType (Inherited from Object.)
Public methodLoad(String)
Loads data to this stream from the specified file.
Public methodLoad(String, Byte)
Loads data to this stream from the specified buffer.
Public methodLoad(String, Stream)
Loads data to this stream from the specified Stream.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSave(Stream)
Saves data from this stream to the specified Stream.
Public methodSave(String)
Saves data from this stream to to the specified file.
Public methodToString (Inherited from Object.)
Top
Remarks
Stream is analogous to a file system file. The parent object of a stream object must be a Storage object or the RootDirectoryEntry.
See Also